package com.kevin.action;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import org.apache.struts2.rest.DefaultHttpHeaders;
import org.apache.struts2.rest.HttpHeaders;

public class OrdersAction extends ActionSupport implements ModelDriven<Object> {

    @Override
    public String execute() throws Exception {
        return "index";

    }



    public String list()throws Exception{
        return "list";
    }

    public String show() {
        System.out.println("show");

        return new String("show");
    }





    @Override
    public Object getModel() {
        return null;


    }
}
